package com.itheima.pojo;

import lombok.Data;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
/**
 * 实体类
 * @author Administrator
 *
 */
@Entity
@Table(name="t_comment")
@Data
public class Comment implements Serializable{

	@Id
	private String uid;//唯一uid



	private String user_uid;//用户uid
	private String to_uid;//回复某条评论的uid
	private String to_user_uid;//回复某个人的uid
	private String content;//评论内容
	private String blog_uid;//博客uid
	private long status;//状态
	private java.sql.Timestamp create_time;//创建时间
	private java.sql.Timestamp update_time;//更新时间
	private String source;//评论来源： MESSAGE_BOARD，ABOUT，BLOG_INFO 等
	private long type;//评论类型 1:点赞 0:评论
	private String first_comment_uid;//一级评论UID




}
